Assessment of executive functions by virtual reality test